package com.zhou.SingletonMode;

public class SingleObject {
    private static SingleObject instance = new SingleObject();

    private SingleObject(){};

    public static SingleObject getInstance(){
        return instance;
    }
    public void showMessage(){
        System.out.println("单例测试: 1");
    }
}
